command-not-found software package provides Suggest installation of packages in interactive bash sessions, you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install command-not-found
command-not-found is installed in your system.
Make ensure the command-not-found package were installed using the commands given below,
$ sudo dpkg-query -l | grep command-not-found *
You will get with command-not-found package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Administration Utilities |
| Package | command-not-found |
| Version | 0.3ubuntu12 |
| Description | Suggest installation of packages in interactive bash sessions |
| Sub Section | Admin |